package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 问卷
 * @author yeyong
 */
@TableName("bhyf_bdb_basestation")
public class BhyfBdbBaseStation implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableId(value = "mac")
    @ApiModelProperty(value = "mac")
    private String mac;

    @ApiModelProperty(value = "classname")
    private String classname;

    @ApiModelProperty(value = "gid")
    private Integer gid;

    @ApiModelProperty(value = "classid")
    private Integer classid;

    @ApiModelProperty(value = "version")
    private String version;

    @ApiModelProperty(value = "isspecified")
    private Integer isspecified;

    @ApiModelProperty(value = "basetype")
    private String basetype;

    @ApiModelProperty(value = "lastonline")
    private String lastonline;

    @ApiModelProperty(value = "lastworktime")
    private String lastworktime;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public String getLastonline() {
        return lastonline;
    }

    public void setLastonline(String lastonline) {
        this.lastonline = lastonline;
    }

    public String getLastworktime() {
        return lastworktime;
    }

    public void setLastworktime(String lastworktime) {
        this.lastworktime = lastworktime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getIsspecified() {
        return isspecified;
    }

    public void setIsspecified(Integer isspecified) {
        this.isspecified = isspecified;
    }

    public String getBasetype() {
        return basetype;
    }

    public void setBasetype(String basetype) {
        this.basetype = basetype;
    }

    @Override
    public String toString() {
        return "bhyf_bdb_basestation{" +
                "id=" + id +
                ", classname=" + classname +
                ", gid=" + gid +
                ", classid=" + classid +
                ", mac=" + mac +
                ", lastonline=" + lastonline +
                ", createtime=" + createtime +
                ", basetype=" + basetype +
                ", isspecified=" + isspecified +
                ", lastworktime=" + lastworktime +
                ", version=" + version +
                "}";
    }
}
